package com.hvgroup.modules.sanic.service;

import com.hvgroup.modules.sanic.domain.dto.KnowledgeBase;
import com.hvgroup.modules.sanic.domain.dto.KnowledgeBaseItem;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DifyKBService {

    String createDatasets(KnowledgeBase request);

    List<KnowledgeBaseItem> listDatasets(String page);

    List<KnowledgeBaseItem> listDatasetsItem(String datasetId);

    void uploadFileToDatasets(String kbId, MultipartFile file);

    void updateKnowledgeBase(String kbId, KnowledgeBaseItem request);

    void deleteDatasets(String kbId);

    void deleteDatasetsItem(String datasetId, String documentId);
}
